import {
  reqGetIntroduction
} from "../../api/Introduction.js";

const state = {
  TV_data :{},
};
const getters = {};
const actions = {
  async getIntroduction({ commit }) {
    const data = await reqGetIntroduction();
    commit("GET_INTRODUCTION", data);
  },
};
const mutations = {
  GET_INTRODUCTION(state, data) {
    state.TV_data = data.data.list;
  },
};

export default {
  namespaced: true,
  state,
  getters,
  actions,
  mutations,
};